package com.Math;

public class Test {
    public static void main(String[] args) {

        int temp = 1;
        int j = 3;
        int count = 0;
        int[] arr = new int[3];

        while(j>0){
            j--;
            arr[j] = (153 / temp) %10;
            temp*=10;
        }

        for (int i = 0; i < arr.length; i++) {
            System.out.print(arr[i] + " ");
        }
    }
}
